// cover some element-ui styles
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
    font-weight: 400 !important;
}

.el-upload {
    input[type="file"] {
        display: none !important;
    }
}

.el-upload__input {
    display: none;
}

.cell {
    .el-tag {
        margin-right: 0px;
    }
}

.small-padding {
    .cell {
        padding-left: 5px;
        padding-right: 5px;
    }
}

.fixed-width {
    .el-button--mini {
        padding: 7px 10px;
        width: 60px;
    }
}
.status-col {
    .cell {
        padding: 0 10px;
        text-align: center;
        .el-tag {
            margin-right: 0px;
        }
    }
}

.el-input--mini .el-input__inner {
    height: 26px;
    line-height: 26px;
}

.el-input--mini .el-input__icon {
    line-height: 26px;
}

.el-select-dropdown__item {
    font-size: 12px;
}
.el-button--mini {
    padding: 1px 10px;
    font-size: 12px;
    color: #fff;
    min-height: 24px;
}

.el-button--text {
    color: #000;
    font-size: 12px;
}

.el-radio {
    .el-radio__label {
        font-weight: normal;
        font-size: 13px;
    }
}
.left_Radio {
    width: calc(100% - 75px);
    .el-radio {
        margin-right: 10px;
    }
    .el-radio__label {
        padding-left: 5px;
    }
}
.el-dialog {
    .el-dialog-item,
    .el-dialog-group,
    .el-dialog-dep {
        .el-checkbox {
            font-weight: normal;
            width: 140px;
            margin-right: 0px;
            .el-checkbox__label {
                font-size: 13px;
                color: #878989;
            }
        }
    }
}

.el-form-item--mini.el-form-item {
    margin-bottom: 10px;
}

.el-form-item {
    margin-bottom: 10px;
    .el-form-item__label {
        line-height: 20px;
        color: #878989;
    }
    .el-form-item__content {
        line-height: 20px;
    }
    .el-form-item__label {
        text-align: left;
        padding: 0 5px 0 0;
    }
}

.el-table {
    color: #000;
    .el-table__header th {
        padding: 0;
        height: 30px;
        color: #fff;
        background-color: #34bfc6 ;
    }
    .el-table__body td {
        background-color: #f1f2f0;
    }
    th.is-leaf {
        border-bottom: 1px solid #fff;
    }
    td {
        border-bottom: 1px solid #fff;
    }
    th {
        font-weight: normal;
    }
}

.el-table__footer-wrapper tbody td {
    padding: 0;
    height: 30px;
    background-color: #d8dad7;
    color: #000;
}

.el-div-green {
    .el-table .el-table__header th {
        background-color: #34bfc6 ;
    }
}

.el-table--border th,
.el-table--border td {
    border-right: 1px solid #fff;
}

.el-table__header,
.el-table__body,
.el-table__footer {
    width: 100% !important;
    table-layout: auto;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
    transform: none;
    left: 0;
    position: relative;
    margin: 0 auto;
    // width: 50% !important;
    .el-dialog__header {
        background-color: #284358 ;
        padding-top: 5px;
        padding-bottom: 5px;
        text-align: center;
        height: 30px;
        line-height: 28px;
        .el-dialog__title {
            font-size: 14px;
            color: #fff;
        }
    }
    .el-dialog__body {
        padding: 20px 40px 10px 40px;
        position: relative;
        // height: 500px;
        // overflow: auto;
    }
    .el-dialog__headerbtn {
        top: 7px;
        .el-dialog__close {
            color: #fff;
        }
    }
    .el-divider--horizontal {
        margin: 10px 0 15px 0;
        height: 0;
    }
    .el-button:hover,
    .el-button:focus {
        color: #fff;
    }
    .csstop {
        position: absolute;
        top: 0;
        width: calc(100% - 60px);
        .cssborder {
            background: #ffffff;
            position: relative;
            height: 10px;
            line-height: 10px;
            width: 28%;
            float: left;
            z-index: 1111;
            &::after {
                content: '';
                width: 0;
                height: 0;
                border-bottom: 10px solid transparent;
                border-right: 15px solid #284358;
                position: absolute;
                right: 0;
                top: 0;
            }
        }
        .cssborder2 {
            background: #284358;
            position: relative;
            height: 10px;
            line-height: 10px;
            width: 44%;
            float: left;
            z-index: 1111;
        }
        .cssborder3 {
            background: #ffffff;
            position: relative;
            margin-bottom: 5px;
            height: 10px;
            line-height: 10px;
            width: 28%;
            float: left;
            z-index: 1111;
            &::after {
                content: '';
                width: 0;
                height: 0;
                border-bottom: 10px solid transparent;
                border-left: 15px solid #284358;
                position: absolute;
                left: 0;
                top: 0;
            }
        }
    }
    .zll_dialog_bt {
        border-radius: 25px;
        padding: 7px 25px;
        height: 26px;
        display: flex;
        align-items: center;
    }
    .el-table__row .cell{
        line-height: 30px;
        height: 30px;
    }
}
.quality_max {
    .el-dialog {
        margin-top: 50px !important;
        min-height: calc(100% - 100px);
    }
}
.edit_standard_table {
    .el-table .el-table__body td {
        height: 30px;
    }
    .el-table {
        max-height: 335px;
        overflow-y: auto;
    }
}
.moreDrug_table {
    .el-table__expanded-cell {
        padding: 0 0 15px 0px;
        background: #fff !important;
    }
}

// refine element ui upload
.upload-container {
    .el-upload {
        width: 100%;
        .el-upload-dragger {
            width: 100%;
            height: 200px;
        }
    }
}

// dropdown
.el-dropdown-menu {
    a {
        display: block;
    }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
    display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
    box-sizing: content-box;
}

.el-tabs--border-card {
    border: 0px;
    box-shadow: 0 0;
    .el-tabs__content {
        padding: 0;
    }
}

.el-tabs--border-card>.el-tabs__header {
    background-color: #fff;
    border-bottom: 1px solid #34bfc6 ;
    margin: 0;
}

.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active {
    color: #34bfc6 ;
    background-color: #ffffff;
    border-right-color: #34bfc6 ;
    border-left-color: #34bfc6 ;
    border-top-color: #34bfc6 ;
    border-radius: 5px 5px 0 0;
    margin-top: 3px;
    box-shadow: 0px 0px 6px -1px #000000;
}

.el-tabs__item {
    width: 150px;
    text-align: center;
}

.el-button--red {
    background-color: #c00400;
    border-color: #c00400;
}

.el-button--red:hover {
//  box-shadow: 0px 0px 50px #c00400 inset;
    background-color: #c00400;
    border-color: #c00400;
    color: #fff;
    opacity: .8;
}

.el-button--red:focus {
//  box-shadow: 0px 0px 50px #c00400 inset;
    background-color: #c00400;
    border-color: #c00400;
    color: #fff;
    opacity: .8;
}

.el-button--green {
    background-color: #1890ff ;
    border-color: #1890ff ;
    padding: 5px 10px;
}

.el-button--green:hover {
    background-color: #1890ff ;
    border-color: #1890ff ;
    opacity: .8;
}

.el-button--green:focus {
//  box-shadow: 0px 0px 50px #34bfc6  inset;
    background-color: #1890ff ;
    border-color: #1890ff ;
    opacity: .8;
    color: #fff;
}

.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover {
    color: #34bfc6 ;
}

.el-tabs--border-card>.el-tabs__header .el-tabs__item {
    margin-top: 0px;
}

.el-tabs__item {
    height: 30px;
    line-height: 30px;
}

.el-tabs__nav-scroll {
    padding-left: 30px;
}

.filter-item {
    span {
        height: 26px;
        line-height: 26px;
        font-size: 12px;
        color: #7f7d7d;
        margin-right: 0px;
    }
}

.filter-btn-item {
    span {
        height: 26px;
        line-height: 26px;
        font-size: 12px;
        color: #fff;
        margin-right: 0px;
    }
}

.flex-row-space-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.dialog-footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.filter-item-btn-search {
    i {
        background: #34bfc6 ;
        color: #fff;
        width: 50px;
        border-radius: 3px;
        padding: 3px;
        text-align: center;
    }
    &:hover {
        opacity: .9;
    }
}

.dialog-title {
    margin-top: 10px;
    text-align: center;
    font-size: 17px;
    color: #34bfc6 ;
    font-family: STHeiti;
}

.w2 {
    letter-spacing: 2em;
    /*如果需要y个字两端对齐，则为(x-y)/(y-1),这里是（4-2）/(2-1)=2em */
    margin-right: -2em;
    /*同上*/
}

.w3 {
    letter-spacing: 0.5em;
    /*如果需要y个字两端对齐，则为(x-y)/(y-1),这里是（4-3）/(3-1)=0.5em */
    margin-right: -0.5em;
    /*同上*/
}

.el-dialog-table {
    border: 1px solid #dcdfe6;
    margin-top: 2px;
    padding: 2px;
    .el-table__header th {
        padding: 0;
        height: 23px;
        color: #fff;
        background-color: #2995d4;
    }
    .el-table--mini th,
    .el-table--mini td {
        padding: 0px;
    }
}

.el-table-calendar {
    .el-table td {
        padding: 0px;
        height: 36px;
        color: #fff;
    }
    .el-table--border td:first-child .cell,
    .el-table .cell {
        padding-left: 0px;
        padding-right: 0px;
    }
}

.el-dialog-role {
    .el-table__header th {
        padding: 0;
        height: 23px;
        color: #fff;
        background-color: #2995d4;
    }
    .el-table--mini th,
    .el-table--mini td {
        padding: 0px;
    }
}

.el-dialog-item {
    //   display: inline-block;
    color: #878989;
    font-size: 13px;
    margin-bottom: 10px;
    //   height: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 22px;
    //   line-height: 20px;
    span {
        color: #000;
        margin-left: 5px;
        line-height: 22px;
    }
    .el-button--mini {
        padding: 0px 10px;
    }
    .el-button {
        span {
            color: #fff;
            margin-left: 5px;
        }
    }
    &.search_bt_list {
        margin: 0;
        span {
            background: #34BFC6;
            border: 1px solid #34BFC6;
            color: #ffffff;
            border-radius: 4px;
            text-align: center;
            display: inline-block;
            height: 26px;
            line-height: 26px;
            padding: 0 15px;
            cursor: pointer;
            &:hover {
                transition: all .3s;
                opacity: .8;
            }
        }
        .clears {
            background: #fff;
            border: 1px solid #ccc;
            color: #aaaaaa;
        }
    }
}

.table-view {
    cursor: pointer;
    color: #1890ff;
}

.myTask-num {
    color: #ff0000;
}

.el-form-right {
    float: right;
    line-height: 26px;
}

.el-grey-txt {
    color: #878989;
    font-size: 13px;
}

.el-col-frame {
    .el-dialog-item {
        margin-bottom: 6px;
    }
}

.el-dialog-param {
    .el-div-container {
        height: 300px;
        overflow: auto;
    }
    .el-dialog {
        .el-dialog__header {
            // background-color: #2995d4;
        }
    }
    .el-table {
        color: #626464;
        .el-table__header th {
            padding: 0px;
            height: 23px;
            color: #626464;
            background-color: #dad8d8;
        }
        .el-button {
            color: #626464;
        }
    }
    .el-table--mini th,
    .el-table--mini td {
        padding: 0px;
    }
}

.el-table {
    .fixed-width .el-button--mini {
        padding: 0px;
        width: auto;
    }
    .el-button+.el-button {
        margin-left: 0px;
    }
}

.el-notification__icon {
    font-size: 38px;
    margin-right: 10px;
}
.sameData  .el-icon-date {
    line-height: 14px !important;
}
.sameData .el-range-separator {
    line-height: 14px !important;
}
.label_dialog {
    .el-dialog-item  {
        label {
            width: 65px;
            overflow:hidden;
            white-space:nowrap;
//          text-overflow:ellipsis;
        }
    }
}
.standard_Dialog {
    .el-dialog-item  {
        label {
            width: auto;
        }
        .dialogTxt {
            width: 65px;
            overflow:hidden;
            white-space:nowrap;
            line-height: 26px;
//          text-overflow:ellipsis;
        }
    }
}
.inspect_dialog {
    .el-dialog-group {
        label {
            width: 65px;
            overflow:hidden;
            line-height: 26px;
            white-space:nowrap;
//          text-overflow:ellipsis;
        }
    }
}
.el-menu--vertical {
    left: 58px !important;
}
.el-menu--vertical:before {
    content: '';
    width: 0; 
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: transparent $menuBg  transparent transparent;
    position: absolute;
    left: -15px;
    top: 15px;
}

.drugTable {
    .el-table .el-table__header th {
        color: #333;
        background: #d7d7d7 !important;
        height: 35px;
        line-height: 35px;
        font-size: 14px;
    }
    .el-table .el-table__body td {
        background-color: #ffffff;
    }
    .el-table--border th, .el-table--border td {
        border-right: 0;
        border-bottom: 1px solid#e6e6e6;
    }
}
.el-pagination button, .el-pagination span:not([class*=suffix]) {
    font-size: 12px;
    height: 26px;
    line-height: 26px;
}
.el-pagination__sizes .el-input .el-input__inner {
    font-size: 12px;
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
    background-color: $baseColor;
    height: 26px;
    line-height: 26px;
}
.el-radio-button__orig-radio:checked+.el-radio-button__inner {
    background-color: #34bfc6;
    border-color: #34bfc6;
}
.upLoad_icon {
    .el-upload-list__item-name {
        font-size: 12px;
    }
    .el-upload-list__item {
        margin-top: 0;
    }
    .el-upload-list {
        width: 100%;
        max-width: 200px;
    }
}
.zll_checkboxG {
    .el-checkbox {
        margin-bottom: 10px;
        width: 50%;
        margin-right: 0;
    }
    .check_group {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
}

.zll_addForm {
    .span_colon {
        display: inline-block;
        width: 70px;
        text-align: right;
    }
    .zll_flex {
        .el-form-item__content {
            display: flex
        }
    }
  }
.workInput {
    .el-input__inner {
        padding-left: 100px;
        border: none;
        border-radius: 0;
    }
}
.saomaInput {
    .el-input__inner {
        border-radius: 0;
    }
}
.zll_pop_input {
    position: absolute;
    width: 80%;
    height: 120px;
    left: 10%;
    border: 1px solid #ccc;
    background: #fff;
    bottom: -105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    z-index: 111;
    padding: 20px 0;
    &::before {
        content: " ";
        border-left: 1px solid #ccc;
        border-top: 1px solid #ccc;
        background: #fff;
        width: 12px;
        height: 12px;
        display: block;
        transform-origin: 50% 50%;
        transform: rotate(45deg);
        margin: -27px auto 0;
    }
    .el-input {
        width: 80%;
    }
}
.out_height {
    .el-dialog {
        margin-top: 7vh !important;
    }
}